<extend name="common:commonTemplate"/>
<block name="main_content">
    <!--<link rel="stylesheet" href="/Public/css/step.css"/>-->
    <style>
        div.uploader {
            display: none;
        }

        .transparent {
            opacity: 0 !important;
        }

        .uploaded-img {
            position: absolute;
            height: 160px;
            width: 120px;
            top: 10px;
            left: 10px;
        }

        .image-container {
            position: relative;
        }

        td {
            word-break: break-all !important;
            text-align: center !important;
        }

        .required-tips {
            color: red;
            margin: 3px 0 0 5px;;
        }

        .static-bottom {
            background: #eeeeee none repeat scroll 0 0;
            left: 220px;
            bottom: 0;
            position: fixed;
            width: 100%;
            padding: 20px;
        }

        .ui-stepBar-wrap {
            background: #ebeef3 none repeat scroll 0 0;
            display: none;
            height: 130px;
            overflow: hidden;
            position: relative;
            width: 100%;
            z-index: 100;
        }

        .ui-stepBar-wrap .ui-stepBar {
            background: #cccccc none repeat scroll 0 0;
            height: 5px;
            left: 5%;
            position: relative;
            top: 50px;
            width: 800px;
            z-index: 101;
        }

        .ui-stepBar-wrap .ui-stepBar .ui-stepProcess {
            background: #516784 none repeat scroll 0 0;
            height: 5px;
            left: 0;
            position: relative;
            top: 0;
            width: 0;
            z-index: 102;
        }

        .ui-stepBar-wrap .ui-stepInfo-wrap {
            height: 100%;
            margin: 0 auto;
            width: 90%;
        }

        .ui-stepBar-wrap .ui-stepInfo-wrap .ui-stepInfo {
            float: left;
            padding-top: 36px;
            position: relative;
            text-align: center;
        }

        .ui-stepBar-wrap .ui-stepInfo-wrap .ui-stepInfo .judge-stepSequence-pre-change, .ui-stepBar-wrap .ui-stepInfo-wrap .ui-stepInfo .judge-stepSequence-hind-change {
            cursor: pointer;
        }

        .ui-stepBar-wrap .ui-stepInfo-wrap .ui-stepInfo .ui-stepSequence {
            border-radius: 50%;
            padding: 4px 8px;
            position: relative;
            z-index: 103;
        }

        .judge-stepSequence-pre {
            background: #cfcfcf none repeat scroll 0 0;
            color: #ffffff;
        }

        .judge-stepSequence-after {
            background: green none repeat scroll 0 0;
            color: #ffffff;
        }

        .ui-stepName {
            margin-top: 20px;
        }

        tr:hover {
            background: transparent !important;
        }

        .image-ul {
            padding: 10px;
        }

        .image-ul li {
            display: inline-block;
            width: 150px;
            height: 200px;
        }

        .image-ul li .image-container {
            width: 140px;
            height: 180px;
            display: inline-block;
            border: 1px dotted #1e242b;
        }

        .image-ul li .image-title {
            width: 140px;
            text-align: center;
        }

        .browser-btn {
            display: inline-block;
            position: relative;
            left: 50%;
            top: 50%;
            width: 50px;
            height: 50px;
            font-size: 18px;
            margin: -10px 0 0 -6px
        }

        .bordered-group {
            display: block;
            border: 1px dashed #cfcfcf;
        }
    </style>

    <div id="content" style="padding-bottom: 100px;">

        <div id="content-header">
            <div id="breadcrumb">
                <a class="tip-bottom" href="index.html"
                   data-original-title="Go to Home"><i class="icon-home"></i> 首页</a> <a
                    href="#">产品信息</a> <a class="current" href="#">产品详情</a>
            </div>
        </div>
        <div class="widget-title"><span class="icon"><i class="icon-info-sign"></i></span>
            <ul class="nav nav-tabs">
                <li class="active">
                    <a data-toggle="tab" href="#tab1">产品基本信息</a>
                </li>
                <li class="">
                    <a data-toggle="tab" href="#tab2">产品详细信息</a>
                </li>

                <li class="">
                    <a data-toggle="tab" href="#tab3">项目信息</a>
                </li>


                <li class="">
                    <a data-toggle="tab" href="#tab4">流程和日志</a>
                </li>
            </ul>
        </div>
        <div class="container-fluid tab-content">
            <div id="tab1" class="tab-pane active" style="background: #fff;">
                <div class="row-fluid">
                    <div class="span12">
                        <form action="#" class="form-horizontal" id="product-basic">
                            <div class="control-group">
                                <label class="control-label">产品型号</label>
                                <div class="controls">
                                    <input type="hidden" id="id" name="id" value="{$id}">
                                    <input type="hidden" id="group_name" value="{$group_name}">
                                    <input type="hidden" id="server_name" value="{$server_name}">
                                    <input type="text" name="product_type" class="span8 mask text">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">芯片</label>
                                <div class="controls">
                                    <select type="text" name="chip" class="span8" flag="CHIP"></select>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">机型说明</label>
                                <div class="controls">
                                    <input type="text" name="type_desc" class="span8 mask text">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">DDR</label>
                                <div class="controls">
                                    <select type="text" name="ddr" class="span8" flag="DDR"></select>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">EMMC</label>
                                <div class="controls">
                                    <select type="text" name="emmc" class="span8" flag="EMMC"></select>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">BT/WIFI模组</label>
                                <div class="controls">
                                    <select type="text" name="bt_wifi" class="span8"
                                            flag="BT_WIFI"></select>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">是否支持蓝牙</label>
                                <div class="controls">
                                    <label><input type="radio" name="with_bluetooth" value="1">是</label>
                                    <label><input type="radio" name="with_bluetooth" value="0">否</label>
                                </div>

                            </div>
                            <div class="control-group">
                                <label class="control-label">遥控器</label>
                                <div class="controls">
                                    <select type="text" name="remote_control" class="span8"
                                            flag="RE_CONTRO"></select>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">HDMI接口</label>
                                <div class="controls">
                                    <select type="text" name="hdmi" class="span8" flag="HDMI"></select>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">USB2.0接口</label>
                                <div class="controls">
                                    <select name="usb_2" class="span8" flag="USB_2"></select>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">USB3.0接口</label>
                                <div class="controls">
                                    <select name="usb_3" class="span8" flag="USB_3"></select>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">是否有SD卡槽</label>
                                <div class="controls">
                                    <label><input type="radio" name="with_sd_slot" value="1">是</label>
                                    <label><input type="radio" name="with_sd_slot" value="0">否</label>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">LED灯</label>
                                <div class="controls">
                                    <select name="led" class="span8" flag="LED"></select>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">操作系统</label>
                                <div class="controls">
                                    <select name="operate_system" class="span8" flag="OP_SYS"></select>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">是否支持MEMC</label>
                                <div class="controls">
                                    <label><input type="radio" name="support_memc" value="1">是</label>
                                    <label><input type="radio" name="support_memc" value="0">否</label>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">是否是独立小板</label>
                                <div class="controls">
                                    <label><input type="radio" name="independent_board" value="1">是</label>
                                    <label><input type="radio" name="independent_board" value="0">否</label>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">SPDIF和3.5mm音频接口</label>
                                <div class="controls">
                                    <select name="spdif_audio_interface" class="span8"
                                            flag="SPDIF"></select>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">默认会员包</label>
                                <div class="controls">
                                    <select name="default_mem_package" class="span8"
                                            flag="DEFAULT_PACK"></select>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">默认会员包年限</label>
                                <div class="controls">
                                    <select name="num_years" class="span8"
                                            flag="DEFAULT_PACK_LIMIT"></select>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">预计发售时间</label>
                                <div class="controls">
                                    <input id="start_date" name="estimate_sale_time"
                                           class="laydate-icon span8"
                                           onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
                                </div>
                            </div>
                        </form>
                    </div>


                </div>
                <div class="row-fluid static-bottom">
                    <div class="span6">
                        <if condition="($group_name eq 'cp_group') OR ($group_name eq 'soft_group')OR ($group_name eq 'ko_group')">
                            <a href="#" class="btn btn-success btn-save">保存</a>
                        </if>

                        <if condition="($group_name eq 'apply_group') AND (!$apply_group)">
                            <a href="#" class="btn btn-primary btn-apply">审核通过</a>
                        </if>
                        <if condition="($group_name eq 'ko_group') AND (!$apply_group)">
                            <a href="#"  class="btn btn-primary btn-apply">审核通过</a>
                        </if>

                    </div>
                </div>
            </div>

            <div id="tab2" class="tab-pane">
                <div class="row-fluid">
                <div class="span12" style="background-color: #fff;">
                    <form action="#" class="form-horizontal" id="product-detail">
                        <div class="bordered-group">
                            <div class="control-group">
                                <label class="control-label">Panel1</label>
                                <div class="controls">
                                    <input type="text" name="panel1" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">Panel1品牌</label>
                                <div class="controls">
                                    <select  name="panel1_brand" class="span8"  flag="PANEL1_BRAND"></select>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">Panel1类型</label>
                                <div class="controls">
                                    <select  name="panel1_type" class="span8"  flag="PANEL1_TYPE"></select>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">静态对比度</label>
                                <div class="controls">
                                    <input type="text" name="panel1_static_contrast"
                                           class="span8 mask-contrast">
                                    <span class="help-block blue">8:01</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">动态对比度</label>
                                <div class="controls">
                                    <input type="text" name="panel1_dynamic_contrast"
                                           class="span8 mask-contrast">
                                    <span class="help-block blue">1000:01</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">色域</label>
                                <div class="controls">
                                    <input type="text" name="panel1_color_gamut"
                                           class="span8 mask-percent">
                                    <span class="help-block blue">98%</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">色彩数</label>
                                <div class="controls">
                                    <input type="text" name="panel1_color_number" class="span8">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">SN码示例</label>
                                <div class="controls">
                                    <input type="text" name="panel1_sn_sample" class="span8">
                                </div>
                            </div>
                        </div>

                        <div class="bordered-group">
                            <div class="control-group">
                                <label class="control-label">Panel2</label>
                                <div class="controls">
                                    <input type="text" name="panel2" class="span8">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">Panel2品牌</label>
                                <div class="controls">
                                    <select  name="panel2_brand" class="span8"  flag="PANEL2_BRAND"></select>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">Panel2类型</label>
                                <div class="controls">
                                    <select  name="panel2_type" class="span8"  flag="PANEL2_TYPE"></select>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">静态对比度</label>
                                <div class="controls">
                                    <input type="text" name="panel2_static_contrast"
                                           class="span8 mask-contrast">
                                    <span class="help-block blue">1000:01</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">动态对比度</label>
                                <div class="controls">
                                    <input type="text" name="panel2_dynamic_contrast"
                                           class="span8 mask-contrast">
                                    <span class="help-block blue">1000:01</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">色域</label>
                                <div class="controls">
                                    <input type="text" name="panel2_color_gamut"
                                           class="span8 mask-percent">
                                    <span class="help-block blue">98%</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">色彩数</label>
                                <div class="controls">
                                    <input type="text" name="panel2_color_number" class="span8">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">SN码示例</label>
                                <div class="controls">
                                    <input type="text" name="panel2_sn_sample" class="span8">
                                </div>
                            </div>
                        </div>
                        <div class="bordered-group">
                            <div class="control-group">
                                <label class="control-label">Panel3</label>
                                <div class="controls">
                                    <input type="text" name="panel3" class="span8">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">Panel3品牌</label>
                                <div class="controls">
                                    <select  name="panel3_brand" class="span8"  flag="PANEL3_BRAND"></select>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">Panel3类型</label>
                                <div class="controls">
                                    <select  name="panel3_type" class="span8"  flag="PANEL3_TYPE"></select>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">静态对比度</label>
                                <div class="controls">
                                    <input type="text" name="panel3_static_contrast"
                                           class="span8 mask-contrast">
                                    <span class="help-block blue">1000:1</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">动态对比度</label>
                                <div class="controls">
                                    <input type="text" name="panel3_dynamic_contrast"
                                           class="span8 mask-contrast">
                                    <span class="help-block blue">1000:1</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">色域</label>
                                <div class="controls">
                                    <input type="text" name="panel3_color_gamut"
                                           class="span8 mask-percent">
                                    <span class="help-block blue">98%</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">色彩数</label>
                                <div class="controls">
                                    <input type="text" name="panel3_color_number" class="span8">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">SN码示例</label>
                                <div class="controls">
                                    <input type="text" name="panel3_sn_sample" class="span8">
                                </div>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">刷新频率</label>
                            <div class="controls">
                                <select name="refresh_frequency" class="span8"
                                        flag="REFRESH_FREQUENT"></select>
                            </div>

                        </div>
                        <div class="control-group">
                            <label class="control-label">整机亮度</label>
                            <div class="controls">
                                <input type="text" name="brightness" class="span8 mask-unit-nits">
                                <span class="help-block blue">310nits</span>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">支持壁挂型号</label>
                            <div class="controls">
                                <select name="hanging_type" class="span8"
                                        flag="HANG_TYPE"></select>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">壁挂尺寸</label>
                            <div class="controls">
                                <input type="text" name="hanging_size" class="span8 mask-size-two">
                                <span class="help-block blue">200*200</span>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">上垫片厚度</label>
                            <div class="controls">
                                <input type="text" name="up_gasket_thickness" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">下垫片厚度</label>
                            <div class="controls">
                                <input type="text" name="down_gasket_thickness" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">动态响应</label>
                            <div class="controls">
                                <input type="text" name="dynamic_response" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">可视角度</label>
                            <div class="controls">
                                <input type="text" name="view_angle" class="span8 mask-angle">
                                <span class="help-block blue">178°（H/V)</span>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">扬声器</label>
                            <div class="controls">
                                <input type="text" name="speaker" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">杜比数字解码</label>
                            <div class="controls">
                                <input type="text" name="dolby_digital" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">杜比ATMOS全景声</label>
                            <div class="controls">
                                <input type="text" name="dolby_atmos" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">DTS解码</label>
                            <div class="controls">
                                <input type="text" name="dts" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">输出功率</label>
                            <div class="controls">
                                <input type="text" name="output_power" class="span8">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">全屏扬声器</label>
                            <div class="controls">
                                <input type="text" name="all_frequency_speaker" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">低音扬声器</label>
                            <div class="controls">
                                <input type="text" name="woofer" class="span8">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">高音扬声器</label>
                            <div class="controls">
                                <input type="text" name="loudspeaker" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">EAN码</label>
                            <div class="controls">
                                <input type="text" name="ean_code" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">颜色</label>
                            <div class="controls">
                                <input type="text" name="color" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">净重(不含底座)</label>
                            <div class="controls">
                                <input type="text" name="weight_without_base" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">净重(含底座)</label>
                            <div class="controls">
                                <input type="text" name="weight_with_base" class="span8">
                            </div>
                        </div>


                        <div class="control-group">
                            <label class="control-label">毛重</label>
                            <div class="controls">
                                <input type="text" name="gross_weight" class="span8">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">主机尺寸(含底座)</label>
                            <div class="controls">
                                <input type="text" name="size_with_base" class="span8 mask-size-three">
                                <span class="help-block blue">1232x711x72mm</span>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">主机尺寸(不含底座)</label>
                            <div class="controls">
                                <input type="text" name="size_without_base"
                                       class="span8 mask-size-three">
                                <span class="help-block blue">1232x711x72mm</span>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">包装尺寸</label>
                            <div class="controls">
                                <input type="text" name="package_size" class="span8 mask-size-three">
                                <span class="help-block blue">1232x711x72mm</span>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">堆码层数极限</label>
                            <div class="controls">
                                <input type="text" name="stack_layer_limit" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">屏幕尺寸</label>
                            <div class="controls">
                                <input type="text" name="screen_size" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">显示格式</label>
                            <div class="controls">
                                <input type="text" name="display_format" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">分辨率</label>
                            <div class="controls">
                                <input type="text" name="resolution_ratio" class="span8 mask-size-two">
                                <span class="help-block blue">1232x711</span>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">背光灯类型</label>
                            <div class="controls">
                                <select name="backlight_type" class="span8"
                                        flag="BACKLIGHT_TYPE"></select>

                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">屏幕比率</label>
                            <div class="controls">
                                <input type="text" name="screen_ration" class="span8 mask-percent">
                                <span class="help-block blue">90:67</span>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">3D类型</label>
                            <div class="controls">
                                <input type="text" name="type_3d" class="span8">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">能效等级</label>
                            <div class="controls">
                                <input type="text" name="energy_level" class="span8">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">接口类型</label>
                            <div class="controls">
                                <input type="text" name="interface_type" class="span8">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">网络连接方式</label>
                            <div class="controls">
                                <input type="text" name="network__way" class="span8">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">扫描方式</label>
                            <div class="controls">
                                <input type="text" name="scan_way" class="span8">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">接收制式</label>
                            <div class="controls">
                                <input type="text" name="receive_standard" class="span8">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">整机功率</label>
                            <div class="controls">
                                <input type="text" name="tv_type" class="span8">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">待机功率</label>
                            <div class="controls">
                                <input type="text" name="standby_power"
                                       class="span8 mask-standby-power">
                                <span class="help-block blue">≤0.5W</span>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">电压范围</label>
                            <div class="controls">
                                <input type="text" name="voltage_range"
                                       class="span8 mask-voltage-range">
                                <span class="help-block blue">220V~, 50Hz</span>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">工作温度</label>
                            <div class="controls">
                                <input type="text" name="working_temperature"
                                       class="span8 mask-temperature">
                                <span class="help-block blue">0~45ºC</span>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">仓储温度</label>
                            <div class="controls">
                                <input type="text" name="store_temperature"
                                       class="span8 mask-temperature">
                                <span class="help-block blue">0~45ºC</span>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">插头</label>
                            <div class="controls">
                                <input type="text" name="power_plug" class="span8">
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label">包装清单</label>
                            <div class="controls">
                                <input type="text" name="package_list" class="span8">
                            </div>
                        </div>

                        <input type="hidden" is-img="true" name="carton_label_image"
                               id="carton_label_image_hidden" class="span8">
                        <input type="hidden" is-img="true" name="nameplate_image"
                               id="nameplate_image_hidden" class="span8">
                        <input type="hidden" is-img="true" name="energy_label_image"
                               id="energy_label_image_hidden" class="span8">
                        <input type="hidden" is-img="true" name="look_image" id="look_image_hidden"
                               class="span8">
                        <input type="hidden" is-img="true" name="product_image"
                               id="product_image_hidden" class="span8">
                        <input type="hidden" is-img="true" name="c3_credit" id="c3_credit_hidden"
                               class="span8">
                        <input type="hidden" is-img="true" name="c3_credit_2" id="c3_credit_2_hidden"
                               class="span8">
                        <input type="hidden" is-img="true" name="instructions_1"
                               id="instructions_1_hidden" class="span8">
                        <input type="hidden" is-img="true" name="instructions_2"
                               id="instructions_2_hidden" class="span8">
                        <input type="hidden" is-img="true" name="product_views_img"
                               id="product_views_img_hidden">

                    </form>

                    <div class="widget-box">
                        <div class="widget-title"><span class="icon"> <i class="icon-align-justify"></i> </span>
                            <h5>图片凭证</h5>
                        </div>
                        <div class="widget-content nopadding">
                            <ul class="image-ul">
                                <li>
                                                    <span class="image-container" tartget="carton_label_image">
                                                        <a id="carton_label_image" href="#" class="browser-btn"
                                                           id="carton_label_image_btn">+</a>

                                                    </span>
                                    <p class="image-title">上传外标签图片</p>
                                </li>
                                <li>
                                                    <span class="image-container" tartget="nameplate_image">
                                                          <a id="nameplate_image" href="#" class="browser-btn"
                                                             id="nameplate_image_btn">+</a>
                                                    </span>
                                    <p class="image-title">上传铭牌图片</p>
                                </li>
                                <li>
                                                    <span class="image-container" target="energy_label_image">
                                                           <a id="energy_label_image" href="#" class="browser-btn"
                                                              id="energy_label_image_btn">+</a>
                                                    </span>
                                    <p class="image-title">上传能效标签图片</p>
                                </li>
                                <li>
                                                    <span class="image-container" target="look_image">
                                                           <a id="look_image" href="#" class="browser-btn"
                                                              id="look_image_btn">+</a>
                                                    </span>
                                    <p class="image-title">上传整机外观图片</p>
                                </li>
                                <li>
                                                    <span class="image-container" target="product_views_img">
                                                           <a id="product_views_img" href="#" class="browser-btn"
                                                              id="product_views_img_btn">+</a>
                                                    </span>
                                    <p class="image-title">上传产品尺寸2D六视图</p>
                                </li>
                                <li>
                                                    <span class="image-container" target="product_image">
                                                           <a id="product_image" href="#" class="browser-btn"
                                                              id="product_image_btn">+</a>
                                                    </span>
                                    <p class="image-title">上传产品主图</p>
                                </li>
                                <li>
                                                    <span class="image-container" target="c3_credit">
                                                           <a id="c3_credit" href="#" class="browser-btn"
                                                              id="c3_credit_btn">+</a>
                                                    </span>
                                    <p class="image-title">上传3c证书1</p>
                                </li>
                                <li>
                                                    <span class="image-container" target="c3_credit_2">
                                                           <a id="c3_credit_2" href="#" class="browser-btn"
                                                              id="c3_credit_2_btn">+</a>
                                                    </span>
                                    <p class="image-title">上传3c证书2</p>
                                </li>

                                <li>
                                                    <span class="image-container" target="instructions_1">
                                                           <a id="instructions_1" href="#" class="browser-btn">+</a>
                                                    </span>
                                    <p class="image-title">上传说明书1</p>
                                </li>
                                <li>
                                                    <span class="image-container" target="instructions_2">
                                                           <a id="instructions_2" href="#" class="browser-btn">+</a>
                                                    </span>
                                    <p class="image-title">上传说明书2</p>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                    </div>
                <div class="row-fluid static-bottom">
                    <div class="span6">
                        <if condition="($group_name eq 'cp_group') OR ($group_name eq 'soft_group')OR ($group_name eq 'ko_group')">
                            <a href="#"  class="btn btn-success btn-save">保存</a>
                        </if>

                        <if condition="($group_name eq 'apply_group') AND (!$apply_group)">
                            <a href="#" class="btn btn-primary btn-apply">审核通过</a>
                        </if>
                        <if condition="($group_name eq 'ko_group') AND (!$apply_group)">
                            <a href="#"  class="btn btn-primary btn-apply">审核通过</a>
                        </if>

                    </div>
                </div>
            </div>
            <div id="tab3" class="tab-pane" style="background: #fff">
                <div class="row-fluid">
                    <div class="span12">
                        <form class="form-horizontal" id="subject-form">
                            <div class="control-group">
                                <label class="control-label">硬件产品经理</label>
                                <div class="controls">
                                    <input type="text" name="hardware_pm" class="span8">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">整机项目经理</label>
                                <div class="controls">
                                    <input type="text" name="machine_pm" class="span8">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">系统软件项目经理</label>
                                <div class="controls">
                                    <input type="text" name="sys_software_pm" class="span8">
                                </div>

                            </div>
                            <div class="control-group">
                                <label class="control-label">应用软件项目经理</label>
                                <div class="controls">
                                    <input type="text" name="app_software_pm" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">供应链责任人</label>
                                <div class="controls">
                                    <input type="text" name="supply_chain_pm" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">ODM厂</label>
                                <div class="controls">
                                    <select name="odm_factory" class="span8"
                                            flag="ODM_FACT"></select>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">板卡厂</label>
                                <div class="controls">
                                    <select name="card_factory" class="span8"
                                            flag="CARD_FACT"></select>
                                </div>
                            </div>


                            <div class="control-group">
                                <label class="control-label">首轮板</label>
                                <div class="controls">

                                    <input id="first_round_board" name="first_round_board"
                                           class="laydate-icon span8"
                                           onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">EIT(EVT)</label>
                                <div class="controls">
                                    <input id="eit" name="eit" class="laydate-icon span8"
                                           onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">SVT(DVT)</label>
                                <div class="controls">
                                    <input id="svt" name="svt" class="laydate-icon span8"
                                           onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">PP(PTV)</label>
                                <div class="controls">
                                    <input id="pp_ptv" name="pp_ptv" class="laydate-icon span8"
                                           onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">MP</label>
                                <div class="controls">
                                    <!--<input type="text" name="mp" class="span8">-->
                                    <input id="mp" name="mp" class="laydate-icon span8"
                                           onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">PP （PVT）软件版本</label>
                                <div class="controls">
                                    <input type="text" name="pp_software_version" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">MP 软件版本</label>
                                <div class="controls">
                                    <input type="text" name="mp_software_version" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">是否已经量产</label>
                                <div class="controls">
                                    <label><input type="radio" name="is_mass_production" value="1">是</label>
                                    <label><input type="radio" name="is_mass_production" value="0">否</label>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">系统软件Test Leader</label>
                                <div class="controls">
                                    <input type="text" name="soft_test_leader" class="span8">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">应用软件Test Leader</label>
                                <div class="controls">
                                    <input type="text" name="app_test_leader" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">PQ调试</label>
                                <div class="controls">
                                    <input type="text" name="pq_debugger" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">AQ调试</label>
                                <div class="controls">
                                    <input type="text" name="aq_debugger" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">工厂自动化</label>
                                <div class="controls">
                                    <input type="text" name="factory_automation" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">电子</label>
                                <div class="controls">
                                    <input type="text" name="electronic" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">电源</label>
                                <div class="controls">
                                    <input type="text" name="power_supply" class="span8">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">背光</label>
                                <div class="controls">
                                    <input type="text" name="backlight" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">模组结构</label>
                                <div class="controls">
                                    <input type="text" name="module_struture" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">模组工艺</label>
                                <div class="controls">
                                    <input type="text" name="module_technology" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">整机架构</label>
                                <div class="controls">
                                    <input type="text" name="machine_structuer" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">平面</label>
                                <div class="controls">
                                    <input type="text" name="flat" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">声学</label>
                                <div class="controls">
                                    <input type="text" name="acoustics" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">DAQ(品质)</label>
                                <div class="controls">
                                    <input type="text" name="dqa" class="span8">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">流程状态标识</label>
                                <div class="controls">
                                    <input type="text" name="process_flag" class="span8">
                                </div>
                            </div>


                        </form>

                    </div>
                </div>
                <div class="row-fluid static-bottom">
                    <div class="span6">
                        <if condition="($group_name eq 'cp_group') OR ($group_name eq 'soft_group')OR ($group_name eq 'ko_group')">
                            <a href="#"  class="btn btn-success btn-save">保存</a>
                        </if>

                        <if condition="($group_name eq 'apply_group') AND (!$apply_group)">
                            <a href="#"  class="btn btn-primary btn-apply">审核通过</a>
                        </if>

                        <if condition="($group_name eq 'ko_group') AND (!$apply_group)">
                            <a href="#"  class="btn btn-primary btn-apply">审核通过</a>
                        </if>
                    </div>
                </div>
            </div>

            <div id="tab4" class="tab-pane">
                <div class="row-fluid">
                    <div class="span12">
                        <div class="widget-box">
                            <div class="widget-title"><span class="icon"> <i class="icon-align-justify"></i> </span>
                                <h5>流程和日志</h5>
                            </div>
                            <div class="widget-content nopadding">
                                <div id="stepBar" class="ui-stepBar-wrap" style="display: block;">
                                    <div class="ui-stepBar">

                                    </div>
                                    <div class="ui-stepInfo-wrap">
                                        <table class="ui-stepLayout" style="width: 100%" cellspacing="0" cellpadding="0"
                                               border="0">
                                            <tbody>
                                            <tr>
                                                <td class="ui-stepInfo" style="width: 200px;">
                                                    <if condition="$ko_group">
                                                        <a class="ui-stepSequence judge-stepSequence-after judge-stepSequence-pre-change"
                                                           style="padding: 8px 12px;">1</a>
                                                        <else/>
                                                        <a class="ui-stepSequence judge-stepSequence-pre judge-stepSequence-pre-change"
                                                           style="padding: 8px 12px;">1</a>
                                                    </if>

                                                    <p class="ui-stepName">创建产品(

                                                        <if condition="$ko_group">
                                                            已完成
                                                            <else/>
                                                            未完成
                                                        </if>
                                                        )
                                                    </p>
                                                </td>
                                                <td class="ui-stepInfo" style="width: 200px;">

                                                    <if condition="$cp_group">
                                                        <a class="ui-stepSequence judge-stepSequence-after judge-stepSequence-pre-change"
                                                           style="padding: 8px 12px;">2</a>
                                                        <else/>
                                                        <a class="ui-stepSequence judge-stepSequence-pre judge-stepSequence-pre-change"
                                                           style="padding: 8px 12px;">2</a>
                                                    </if>
                                                    <p class="ui-stepName">产品经理增补(
                                                        <if condition="$cp_group">
                                                            已完成
                                                            <else/>
                                                            未完成
                                                        </if>
                                                        )
                                                    </p>
                                                </td>
                                                <td class="ui-stepInfo" style="width: 205px;">
                                                    <if condition="$soft_group">
                                                        <a class="ui-stepSequence judge-stepSequence-after judge-stepSequence-pre-change"
                                                           style="padding: 8px 12px;">3</a>
                                                        <else/>
                                                        <a class="ui-stepSequence judge-stepSequence-pre judge-stepSequence-pre-change"
                                                           style="padding: 8px 12px;">3</a>
                                                    </if>

                                                    <p class="ui-stepName">软件经理增补(
                                                        <if condition="$soft_group">
                                                            已完成
                                                            <else/>
                                                            未完成
                                                        </if>
                                                        )
                                                    </p>
                                                </td>
                                                <td class="ui-stepInfo" style="width: 200px;">
                                                    <if condition="$apply_group">
                                                        <a class="ui-stepSequence judge-stepSequence-after judge-stepSequence-hind-change"
                                                           style="padding: 6px 10px;">4</a>
                                                        <else/>
                                                        <a class="ui-stepSequence judge-stepSequence-pre judge-stepSequence-hind-change"
                                                           style="padding: 6px 10px;">4</a>
                                                    </if>

                                                    <p class="ui-stepName">最终审核(

                                                        <if condition="$apply_group">
                                                            已完成
                                                            <else/>
                                                            未完成
                                                        </if>
                                                        )
                                                    </p>
                                                </td>

                                            </tr>
                                            </tbody>
                                        </table>


                                    </div>
                                </div>
                            </div>
                            <div class="widget-box">
                                <div class="widget-title"><span class="icon"> <i class="icon-th"></i> </span>
                                    <h5>日志记录</h5>
                                </div>
                                <div class="widget-content nopadding">
                                    <table id="search_result" page_index="1" class="table table-bordered table-striped">
                                        <thead>
                                        <tr>
                                            <th>操作类型</th>
                                            <th style="width: 450px;">操作内容</th>
                                            <th>操作人</th>
                                            <th>操作日期</th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>


                    </div>
                </div>

            </div>


        </div>


    </div>
</block>

<block name="js_content">
    <script type="text/javascript" src="/Public/js/laydate/laydate.js"></script>
    <script type="text/javascript" src="/Public/js/masked.js"></script>
    <script type="text/javascript" src="/Public/js/matrix.form_common.js?v=18"></script>
    <script type="text/javascript" src="/Public/js/plupload/plupload.full.min.js"></script>
    <script type="text/javascript" type="text/javascript" src="/Public/js/uploadHelper.js?v=10"></script>
    <script type="text/javascript">
        $.fn.serializeObject = function () {
            var o = {};
            var a = this.serializeArray();
            $.each(a, function () {
                if (o[this.name]) {
                    if (!o[this.name].push) {
                        o[this.name] = [o[this.name]];
                    }
                    o[this.name].push(this.value || '');
                } else {
                    o[this.name] = this.value || '';
                }
            });
            return o;
        };
        //填充表单
        $.fillForm = function (obj) {
            var key, value, tagName, type, arr;
            for (x in obj) {
                key = x;
                value = obj[x];

                $("[name='" + key + "'],[name='" + key + "[]']").each(function () {
                    tagName = $(this)[0].tagName;
                    type = $(this).attr('type');
                    if (tagName == 'INPUT') {
                        if (type == 'radio') {
                            $(this).attr('checked', $(this).val() == value);
                        } else if (type == 'checkbox') {
                            arr = [];
                            if (value) {
                                arr = value.split(',');
                            }

                            for (var i = 0; i < arr.length; i++) {
                                if ($(this).val() == arr[i]) {
                                    $(this).attr('checked', true);
                                    break;
                                }
                            }
                        } else if (type = 'hidden') {
                            if (value && $(this).attr('is-img')) {
                                if (value.indexOf('pdf') > 0) {
                                    $("#" + key).parent().append("<img class='uploaded-img'  src='" + $('#server_name').val() + "/Public/Uploads/pdf.png'>");
                                } else {
                                    $("#" + key).parent().append("<img class='uploaded-img'  src='" + $('#server_name').val() + value + "'>");
                                }

                                $("#" + key).parent().find('.browser-btn').addClass('transparent');
                            }

                            $(this).val(value);
                        } else {
                            $(this).val(value);
                        }
                    } else if (tagName == 'SELECT' || tagName == 'TEXTAREA') {
                        $(this).val(value);
                        $(this).attr('temp-value', value);
                    }

                });
            }
        };

    </script>

    <script type="text/javascript" src="/Public/js/project/editproduct.js?v=99067"></script>
</block>